/*
    DuckDuckGo Icons!
    
    Requires that you compile the icon font yourself and
    serve it via @font-face under the name 'ddg-serp-icons'
*/

@mixin icon($symbol: '', $no_font: null) {
    @if $no_font == null {
        // important so settings don't override:
        font-family: 'ddg-serp-icons' !important;
        speak: none;
        font-style: normal;
        font-weight: normal !important;
        font-variant: normal;
        text-transform: none;
        text-decoration: none !important;

        /* Better Font Rendering =========== */
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }

    @if $symbol == 'alert' {
        content: "\21";
    }
    @if $symbol == 'arrow-down' {
        content: "\2193";
    }
    @if $symbol == 'arrow-left-bold' {
        content: "\2b05";
    }
    @if $symbol == 'arrow-left' {
        content: "\2190";
    }
    @if $symbol == 'arrow-right' {
        content: "\2192";
    }
    @if $symbol == 'arrow-top' {
        content: "\2b06";
    }
    @if $symbol == 'arrow-up-left' {
        content: "\2196";
    }
    @if $symbol == 'arrow-up' {
        content: "\2191";
    }
    @if $symbol == 'check-sign' {
        content: "\2611";
    }
    @if $symbol == 'check' {
        content: "\2713";
    }
    @if $symbol == 'circle' {
        content: "\25cf";
    }
    @if $symbol == 'clock' {
        content: "\43";
    }
    @if $symbol == 'close-bold' {
        content: "\d7";
    }
    @if $symbol == 'close' {
        content: "\58";
    }
    @if $symbol == 'cloudsave' {
        content: "\63";
    }
    @if $symbol == 'cog' {
        content: "\2699";
    }
    @if $symbol == 'collapse' {
        content: "\21f1";
    }
    @if $symbol == 'comment' {
        content: "\4f";
    }
    @if $symbol == 'cry' {
        content: "\2639";
    }
    @if $symbol == 'directions' {
        content: "\64";
    }
    @if $symbol == 'down' {
        content: "\76";
    }
    @if $symbol == 'download' {
        content: "\2913";
    }
    @if $symbol == 'expand' {
        content: "\21f2";
    }
    @if $symbol == 'eye' {
        content: "\69";
    }
    @if $symbol == 'football' {
        content: "\61";
    }
    @if $symbol == 'frown' {
        content: "\28";
    }
    @if $symbol == 'grid' {
        content: "\47";
    }
    @if $symbol == 'heart' {
        content: "\2665";
    }
    @if $symbol == 'home' {
        content: "\2302";
    }
    @if $symbol == 'horn' {
        content: "\48";
    }
    @if $symbol == 'info' {
        content: "\49";
    }
    @if $symbol == 'left-big' {
        content: "\2039";
    }
    @if $symbol == 'left-sign' {
        content: "\25c1";
    }
    @if $symbol == 'left' {
        content: "\3c";
    }
    @if $symbol == 'less-sign' {
        content: "\229d";
    }
    @if $symbol == 'lock' {
        content: "\6c";
    }
    @if $symbol == 'loupe' {
        content: "\53";
    }
    @if $symbol == 'marker' {
        content: "\40";
    }
    @if $symbol == 'menu' {
        content: "\21f6";
    }
    @if $symbol == 'minus' {
        content: "\2d";
    }
    @if $symbol == 'more-sign' {
        content: "\2295";
    }
    @if $symbol == 'more' {
        content: "\2026";
    }
    @if $symbol == 'move' {
        content: "\2629";
    }
    @if $symbol == 'music-note' {
        content: "\266b";
    }
    @if $symbol == 'news' {
        content: "\6e";
    }
    @if $symbol == 'next' {
        content: "\bb";
    }
    @if $symbol == 'pause' {
        content: "\2551";
    }
    @if $symbol == 'play' {
        content: "\25ba";
    }
    @if $symbol == 'plus' {
        content: "\2b";
    }
    @if $symbol == 'prev' {
        content: "\ab";
    }
    @if $symbol == 'region' {
        content: "\2637";
    }
    @if $symbol == 'right-big' {
        content: "\203a";
    }
    @if $symbol == 'right-sign' {
        content: "\25b7";
    }
    @if $symbol == 'right' {
        content: "\3e";
    }
    @if $symbol == 'smile' {
        content: "\29";
    }
    @if $symbol == 'star' {
        content: "\2605";
    }
    @if $symbol == 'swap' {
        content: "\21a9";
    }
    @if $symbol == 't-down' {
        content: "\25bc";
    }
    @if $symbol == 't-left' {
        content: "\25c0";
    }
    @if $symbol == 't-right' {
        content: "\25b6";
    }
    @if $symbol == 't-up' {
        content: "\25b2";
    }
    @if $symbol == 'twitter' {
        content: "\74";
    }
    @if $symbol == 'up' {
        content: "\5e";
    }
    @if $symbol == 'upload' {
        content: "\2912";
    }
    @if $symbol == 'uploaded' {
        content: "\21d1";
    }
    @if $symbol == 'user' {
        content: "\75";
    }
    @if $symbol == 'users' {
        content: "\55";
    }
}
